﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<div id="left-menu">
    <ul>
        <% foreach (var obj in (IEnumerable<JobDescOnline.Presentation.Models.Menu>)HttpContext.Current.Application["MasterData"]) { %>
            <li><%= Html.ActionLink(obj.MenuTitle, obj.Action, obj.Controller, null, new { @id = "m" + obj.Controller.ToLower(), @class = "logged", @mst = "mmasterdata" })%></li>
        <% } %>
    </ul>
</div>